<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        const p1 = new Promise(resolve => resolve(100));
        const p2 = Promise.resolve('hello');
        async function fn() {
            console.log(await p1);
            console.log(await p2);
            console.log(await 1);
            console.log(await 'hello');
            console.log(await true);
            console.log(await []);
            console.log(await {});
            console.log(await function () { });

        }

        fn();
    </script>
</body>

</html>